300
Can I add any break or divider line

Dim h
With AxList1
	.ScrollBySingleLine = False
	.Columns.Add("Default")
	With .Items
		.Add("Item 1")
		h = .Add()
		.ItemBreak(h) = EXLISTLib.BreakLineEnum.SingleLine
		.SelectableItem(h) = False
		.ItemHeight(h) = 6
		.Add("Item 3")
	End With
End With
299
Can I change the default border of the tooltip, using your EBN files

With AxList1
	.ToolTipDelay = 1
	.ToolTipWidth = 364
	.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
	.set_Background(EXLISTLib.BackgroundPartEnum.exToolTipAppearance,16777216)
	.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
End With
298
Can I change the background color for the tooltip

With AxList1
	.ToolTipDelay = 1
	.ToolTipWidth = 364
	.set_Background(EXLISTLib.BackgroundPartEnum.exToolTipBackColor,255)
	.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
End With
297
Does the tooltip support HTML format

With AxList1
	.ToolTipDelay = 1
	.ToolTipWidth = 364
	.Columns.Add("tootip").ToolTip = "<font Tahoma;11>T</font>his is an HTML <b>tooltip</b> assigned to a <fgcolor=FF0000>column</fgcolor>"
End With
296
Can I change the forecolor for the tooltip

With AxList1
	.ToolTipDelay = 1
	.ToolTipWidth = 364
	.set_Background(EXLISTLib.BackgroundPartEnum.exToolTipForeColor,255)
	.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
End With
295
Can I change the foreground color for the tooltip

With AxList1
	.ToolTipDelay = 1
	.ToolTipWidth = 364
	.Columns.Add("tootip").ToolTip = "<fgcolor=FF0000>this is a tooltip assigned to a column</fgcolor>"
End With
294
Is there any function to limit the height of the items when I display it using multiple lines

Dim h
With AxList1
	.ScrollBySingleLine = True
	.Columns.Add("C1")
	.Columns.Add("C2")
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "This is bit of text that's shown on multiple lines. This is bit of text that's shown on multiple lines."
		.CellSingleLine(h,1) = EXLISTLib.CellSingleLineEnum.exCaptionWordWrap
		.ItemMaxHeight(h) = 48
	End With
End With
293
Why I cannot center my cells in the column

With AxList1
	.DrawGridLines = EXLISTLib.GridLinesEnum.exAllLines
	.Columns.Add("Default").Alignment = EXLISTLib.AlignmentEnum.CenterAlignment
	.Items.Add("item 1")
	.Items.Add("item 2")
	.Items.Add("item 3")
End With
292
How can I align the cell to the left, center or to the right

With AxList1
	.DrawGridLines = EXLISTLib.GridLinesEnum.exAllLines
	.Columns.Add("Default")
	With .Items
		.CellHAlignment(.Add("left"),0) = EXLISTLib.AlignmentEnum.LeftAlignment
		.CellHAlignment(.Add("center"),0) = EXLISTLib.AlignmentEnum.CenterAlignment
		.CellHAlignment(.Add("right"),0) = EXLISTLib.AlignmentEnum.RightAlignment
	End With
End With
291
How do I apply HTML format to a cell

Dim h
With AxList1
	.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
	.set_HTMLPicture("p1","c:\exontrol\images\zipdisk.gif")
	.set_HTMLPicture("p2","c:\exontrol\images\auction.gif")
	.Columns.Add("Default")
	With .Items
		h = .Add("The following item shows some of the HTML format supported:")
		.CellHAlignment(h,0) = EXLISTLib.AlignmentEnum.CenterAlignment
		h = .Add("<br>text icons <img>1</img>, <img>2</img>, ... pictures <img>p1</img>, <img>p2</img> <br><br>text <b>bold</b>, <i>italic</i>, <" & _
"u>underline</u>, <s>strikeout</s>, ...<br><dotline>and so on...<br> <a>anchor</a> or <a2>hyperlink</a><br><fgcolor=FF0000>fgcolo" & _
"r</fgcolor> or <bgcolor=00FF00>bgcolor</bgcolor> ")
		.CaptionFormat(h,0) = EXLISTLib.CaptionFormatEnum.exHTML
		.CellSingleLine(h,0) = EXLISTLib.CellSingleLineEnum.exCaptionWordWrap
	End With
End With
290
How can I change the font for a cell

With AxList1
	.Columns.Add("Default")
	.Items.Add("std font")
	With .Items
		.CaptionFormat(.Add("this <font tahoma;12>is a bit of text with</font> a different font"),0) = EXLISTLib.CaptionFormatEnum.exHTML
	End With
End With
289
How can I change the font for a cell

Dim f
With AxList1
	.Columns.Add("Default")
	.Items.Add("default font")
	f = CreateObject("StdFont")
	With f
		.Name = "Tahoma"
		.Size = 12
	End With
	With .Items
		.CellFont(.Add("new font"),0) = f
	End With
End With
288
How can I change the font for entire item

Dim f
With AxList1
	.Columns.Add("Default")
	.Items.Add("default font")
	f = CreateObject("StdFont")
	With f
		.Name = "Tahoma"
		.Size = 12
	End With
	With .Items
		.ItemFont(.Add("new font")) = f
	End With
End With
287
How do I vertically align a cell

Dim h
With AxList1
	.DrawGridLines = EXLISTLib.GridLinesEnum.exAllLines
	.Columns.Add("MultipleLine").Def(EXLISTLib.DefColumnEnum.exCellSingleLine) = False
	.Columns.Add("VAlign")
	With .Items
		h = .Add("This is a bit of long text that should break the line")
		.Caption(h,1) = "top"
		.CellVAlignment(h,1) = EXLISTLib.VAlignmentEnum.TopAlignment
		h = .Add("This is a bit of long text that should break the line")
		.Caption(h,1) = "middle"
		.CellVAlignment(h,1) = EXLISTLib.VAlignmentEnum.MiddleAlignment
		h = .Add("This is a bit of long text that should break the line")
		.Caption(h,1) = "bottom"
		.CellVAlignment(h,1) = EXLISTLib.VAlignmentEnum.BottomAlignment
	End With
End With
286
How can I change the position of an item

With AxList1
	.Columns.Add("Default")
	With .Items
		.Add("Item 1")
		.Add("Item 2")
		.ItemPosition(.Add("Item 3")) = 0
	End With
End With
285
How do I find an item

With AxList1
	.Columns.Add("Default")
	With .Items
		.Add("Item 1")
		.Add("Item 2")
		.Add("Item 3")
		.ItemBold(.FindItem("Item 2",0)) = True
	End With
End With
284
How can I insert a hyperlink or an anchor element

With AxList1
	.Columns.Add("Column")
	With .Items
		.CaptionFormat(.Add("Just an <a1>anchor</a> element ..."),0) = EXLISTLib.CaptionFormatEnum.exHTML
	End With
	With .Items
		.CaptionFormat(.Add("Just another <a2>anchor</a> element ..."),0) = EXLISTLib.CaptionFormatEnum.exHTML
	End With
End With
283
How do I find the handle of the item based on its index

Dim h
With AxList1
	.Columns.Add("Default")
	With .Items
		h = .Add("Item 1")
		.Add("Item 2")
		.Add("Item 3")
		.ItemBold(1) = True
	End With
End With
282
How can I find the cell being clicked in a radio group

Dim c,h,i
With AxList1
	.MarkSearchColumn = False
	.SelBackColor = RGB(255,255,128)
	.SelForeColor = RGB(0,0,0)
	.Columns.Add("C1")
	.Columns.Add("C2")
	.Columns.Add("C3")
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Radio 1"
		.CellHasRadioButton(h,1) = True
		.CellRadioGroup(h,1) = 1234
		.Caption(h,2) = "Radio 2"
		.CellHasRadioButton(h,2) = True
		.CellRadioGroup(h,2) = 1234
		.CellState(h,1) = 1
		.CellChecked(1234,i,c)
		.CellBold(i,c) = True
	End With
End With
281
Can I let the user to resize at runtime the specified item

With AxList1
	.ScrollBySingleLine = True
	.DrawGridLines = EXLISTLib.GridLinesEnum.exAllLines
	.Columns.Add("Default")
	With .Items
		.ItemAllowSizing(.Add("resizable item")) = True
		.Add("not resizable item")
	End With
End With
280
How can I change the size ( width, height ) of the picture

Dim h
With AxList1
	.Columns.Add("Default")
	With .Items
		h = .Add("Item 1")
		.CellPicture(h,0) = AxList1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
		.CellPictureWidth(h,0) = 24
		.CellPictureHeight(h,0) = 24
		.ItemHeight(h) = 32
		h = .Add("Item 2")
		.CellPicture(h,0) = AxList1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
		.ItemHeight(h) = 48
	End With
End With
279
How can I find the number or the count of selected items

Dim h
With AxList1
	.SingleSel = False
	.Columns.Add("Default")
	With .Items
		h = .Add("Item 1")
		.Add("Item 2")
		.Add("Item 3")
		.SelectItem(.FirstVisibleItem) = True
		.SelectItem(.NextVisibleItem(.FirstVisibleItem)) = True
		.Add(.SelectCount)
	End With
End With
278
How do I unselect an item

Dim h
With AxList1
	.Columns.Add("Default")
	With .Items
		h = .Add("Item 1")
		.Add("Item 2")
		.Add("Item 3")
		.SelectItem(h) = False
	End With
End With
277
How do I find the selected item

Dim h
With AxList1
	.Columns.Add("Default")
	With .Items
		h = .Add("Item 1")
		.Add("Item 2")
		.Add("Item 3")
		.SelectItem(h) = True
		.ItemBold(.SelectedItem(0)) = True
	End With
End With
276
How do I un select all items

With AxList1
	.SingleSel = False
	.Columns.Add("Default")
	With .Items
		.Add("Item 1")
		.Add("Item 2")
		.Add("Item 3")
		.UnselectAll()
	End With
End With
275
How do I select multiple items

With AxList1
	.SingleSel = False
	.Columns.Add("Default")
	With .Items
		.Add("Item 1")
		.Add("Item 2")
		.Add("Item 3")
		.SelectItem(.FirstVisibleItem) = True
		.SelectItem(.NextVisibleItem(.FirstVisibleItem)) = True
	End With
End With
274
How do I select all items

With AxList1
	.SingleSel = False
	.Columns.Add("Default")
	With .Items
		.Add("Item 1")
		.Add("Item 2")
		.Add("Item 3")
		.SelectAll()
	End With
End With
273
How do I select an item

With AxList1
	.Columns.Add("Default")
	With .Items
		.Add("Item 1")
		.Add("Item 2")
		.Add("Item 3")
		.SelectItem(.NextVisibleItem(.FocusItem)) = True
	End With
End With
272
Can I display a button with some picture or icon inside

Dim h
With AxList1
	.set_HTMLPicture("p1","c:\exontrol\images\zipdisk.gif")
	.Columns.Add("C1")
	.Columns.Add("C2")
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = " Button <img>p1</img> "
		.CaptionFormat(h,1) = EXLISTLib.CaptionFormatEnum.exHTML
		.CellHAlignment(h,1) = EXLISTLib.AlignmentEnum.RightAlignment
		.CellHasButton(h,1) = True
		.ItemHeight(h) = 48
	End With
End With
271
Can I display a button with some picture or icon inside

Dim h
With AxList1
	.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
	.Columns.Add("C1")
	.Columns.Add("C2")
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = " Button <img>1</img> "
		.CaptionFormat(h,1) = EXLISTLib.CaptionFormatEnum.exHTML
		.CellHAlignment(h,1) = EXLISTLib.AlignmentEnum.RightAlignment
		.CellHasButton(h,1) = True
	End With
End With
270
Can I display a button with some icon inside

Dim h
With AxList1
	.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
	.Columns.Add("C1")
	.Columns.Add("C2")
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = " <img>1</img> "
		.CaptionFormat(h,1) = EXLISTLib.CaptionFormatEnum.exHTML
		.CellHAlignment(h,1) = EXLISTLib.AlignmentEnum.RightAlignment
		.CellHasButton(h,1) = True
	End With
End With
269
How can I assign multiple icon/picture to a cell

Dim h
With AxList1
	.set_HTMLPicture("p1","c:\exontrol\images\zipdisk.gif")
	.set_HTMLPicture("p2","c:\exontrol\images\auction.gif")
	.Columns.Add("Default")
	With .Items
		h = .Add("text <img>p1</img> another picture <img>p2</img> and so on")
		.CaptionFormat(h,0) = EXLISTLib.CaptionFormatEnum.exHTML
		.CellPicture(h,0) = AxList1.ExecuteTemplate("loadpicture(`c:\exontrol\images\colorize.gif`)")
		.ItemHeight(h) = 48
		.Add("Item 2")
	End With
End With
268
How can I assign an icon/picture to a cell

Dim h
With AxList1
	.Columns.Add("Default")
	With .Items
		h = .Add("Item 1")
		.CellPicture(h,0) = AxList1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
		.ItemHeight(h) = 48
		.Add("Item 2")
	End With
End With
267
How can I assign multiple icons/pictures to a cell

Dim h
With AxList1
	.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
	.Columns.Add("Default")
	With .Items
		h = .Add("Item <img>1</img> 1, <img>2</img>, ... and so on ")
		.CaptionFormat(h,0) = EXLISTLib.CaptionFormatEnum.exHTML
	End With
End With
266
How can I assign multiple icons/pictures to a cell

Dim h
With AxList1
	.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
	.Columns.Add("Default")
	With .Items
		h = .Add("Item 1")
		.CellImages(h,0) = "1,2,3"
	End With
End With
265
How can I assign an icon/picture to a cell

Dim h
With AxList1
	.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
	.Columns.Add("Default")
	With .Items
		h = .Add("Item 1")
		.CellImage(h,0) = 1
		.CellImage(.Add("Item 2"),0) = 2
		.CellImage(.Add("Item 3"),0) = 3
	End With
End With
264
How can I display a button inside the item or cell

Dim h
With AxList1
	.Columns.Add("C1")
	.Columns.Add("C2")
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = " Button 1 "
		.CellHAlignment(h,1) = EXLISTLib.AlignmentEnum.RightAlignment
		.CellHasButton(h,1) = True
		h = .Add("Cell 2")
		.Caption(h,1) = " Button 2 "
		.CellHAlignment(h,1) = EXLISTLib.AlignmentEnum.CenterAlignment
		.CellHasButton(h,1) = True
	End With
End With
263
How can I change the state of a radio button

Dim h
With AxList1
	.MarkSearchColumn = False
	.SelBackColor = RGB(255,255,128)
	.SelForeColor = RGB(0,0,0)
	.Columns.Add("C1")
	.Columns.Add("C2")
	.Columns.Add("C3")
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Radio 1"
		.CellHasRadioButton(h,1) = True
		.CellRadioGroup(h,1) = 1234
		.Caption(h,2) = "Radio 2"
		.CellHasRadioButton(h,2) = True
		.CellRadioGroup(h,2) = 1234
		.CellState(h,1) = 1
	End With
End With
262
How can I assign a radio button to a cell

Dim h
With AxList1
	.MarkSearchColumn = False
	.SelBackColor = RGB(255,255,128)
	.SelForeColor = RGB(0,0,0)
	.Columns.Add("C1")
	.Columns.Add("C2")
	.Columns.Add("C3")
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Radio 1"
		.CellHasRadioButton(h,1) = True
		.CellRadioGroup(h,1) = 1234
		.Caption(h,2) = "Radio 2"
		.CellHasRadioButton(h,2) = True
		.CellRadioGroup(h,2) = 1234
		.CellState(h,1) = 1
	End With
End With
261
How can I change the state of a checkbox

Dim h
With AxList1
	.Columns.Add("C1")
	.Columns.Add("C2")
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Check Box"
		.CellHasCheckBox(h,1) = True
		.CellState(h,1) = 1
	End With
End With
260
How can I assign a checkbox to a cell

Dim h
With AxList1
	.Columns.Add("C1")
	.Columns.Add("C2")
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Check Box"
		.CellHasCheckBox(h,1) = True
	End With
End With
259
How can I display an item or a cell on multiple lines

Dim h
With AxList1
	.ScrollBySingleLine = True
	.Columns.Add("C1")
	.Columns.Add("C2")
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "This is bit of text that's shown on multiple lines"
		.CellSingleLine(h,1) = EXLISTLib.CellSingleLineEnum.exCaptionWordWrap
	End With
End With
258
How can I assign a tooltip to a cell

Dim h
With AxList1
	.Columns.Add("C1")
	.Columns.Add("C2")
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "tooltip"
		.CellToolTip(h,1) = "This is bit of text that's shown when the user hovers the cell"
	End With
End With
257
How can I associate an extra data to a cell

Dim h
With AxList1
	.Columns.Add("C1")
	.Columns.Add("C2")
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Cell 2"
		.CellData(h,1) = "your extra data"
	End With
End With
256
How do I enable or disable a cell

Dim h
With AxList1
	.Columns.Add("C1")
	.Columns.Add("C2")
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Cell 2"
		.CellEnabled(h,1) = False
	End With
End With
255
How do I change the cell's foreground color

Dim h
With AxList1
	.Columns.Add("C1")
	.Columns.Add("C2")
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Cell 2"
		.CellForeColor(h,1) = RGB(255,0,0)
	End With
End With
254
How do I change the visual effect for the cell, using your EBN files

Dim h
With AxList1
	.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
	.Columns.Add("C1")
	.Columns.Add("C2")
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Cell 2"
		.CellBackColor(h,1) = &H1000000
	End With
End With
253
How do I change the cell's background color

Dim h
With AxList1
	.Columns.Add("C1")
	.Columns.Add("C2")
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Cell 2"
		.CellBackColor(h,1) = RGB(255,0,0)
	End With
End With
252
How do I change the caption or value for a particular cell

With AxList1
	.Columns.Add("C1")
	.Columns.Add("C2")
	With .Items
		.Caption(.Add("Cell 1"),1) = "Cell 2"
	End With
End With
251
How do I retrieve the focused item

With AxList1
	.Columns.Add("Default")
	With .Items
		.Add("Item 1")
		.Add("Item 2")
		.Add("Item 3")
		.ItemBold(.FocusItem) = True
	End With
End With
250
How do I enumerate the visible items

Dim h
With AxList1
	.Columns.Add("Default")
	With .Items
		h = .Add("Item 1")
		h = .Add("Item 2")
		.ItemBold(.FirstVisibleItem) = True
		.ItemBold(.NextVisibleItem(.FirstVisibleItem)) = True
	End With
End With
249
How can I make an item unselectable, or not selectable

Dim h
With AxList1
	.Columns.Add("Column")
	With .Items
		h = .Add("unselectable - you can't get selected")
		.SelectableItem(h) = False
		.Add("selectable")
	End With
End With
248
How can I hide or show an item

Dim h
With AxList1
	.Columns.Add("Column")
	With .Items
		h = .Add("hidden")
		.ItemHeight(h) = 0
		.SelectableItem(h) = False
		.Add("visible")
	End With
End With
247
How can I change the height for all items

With AxList1
	.DefaultItemHeight = 32
	.Columns.Add("Column")
	.Items.Add("One")
	.Items.Add("Two")
End With
246
How do I change the height of an item

With AxList1
	.ScrollBySingleLine = True
	.Columns.Add("Default")
	With .Items
		.ItemHeight(.Add("height")) = 128
	End With
	.Items.Add("enabled")
End With
245
How do I disable or enable an item

With AxList1
	.Columns.Add("Default")
	With .Items
		.EnableItem(.Add("disabled")) = False
	End With
	.Items.Add("enabled")
End With
244
How do I display as strikeout a cell

With AxList1
	.Columns.Add("Default")
	With .Items
		.CellStrikeOut(.Add("strikeout"),0) = True
	End With
End With
243
How do I display as strikeout a cell or an item

With AxList1
	.Columns.Add("Default")
	With .Items
		.CaptionFormat(.Add("gets <s>strikeout</s> only a portion of text"),0) = EXLISTLib.CaptionFormatEnum.exHTML
	End With
End With
242
How do I display as strikeout an item

With AxList1
	.Columns.Add("Default")
	With .Items
		.ItemStrikeOut(.Add("strikeout")) = True
	End With
End With
241
How do I underline a cell

With AxList1
	.Columns.Add("Default")
	With .Items
		.CellUnderline(.Add("underline"),0) = True
	End With
End With
240
How do I underline a cell or an item

With AxList1
	.Columns.Add("Default")
	With .Items
		.CaptionFormat(.Add("gets <u>underline</u> only a portion of text"),0) = EXLISTLib.CaptionFormatEnum.exHTML
	End With
End With
239
How do I underline an item

With AxList1
	.Columns.Add("Default")
	With .Items
		.ItemUnderline(.Add("underline")) = True
	End With
End With
238
How do I display as italic a cell

With AxList1
	.Columns.Add("Default")
	With .Items
		.CellItalic(.Add("italic"),0) = True
	End With
End With
237
How do I display as italic a cell or an item

With AxList1
	.Columns.Add("Default")
	With .Items
		.CaptionFormat(.Add("gets <i>italic</i> only a portion of text"),0) = EXLISTLib.CaptionFormatEnum.exHTML
	End With
End With
236
How do I display as italic an item

With AxList1
	.Columns.Add("Default")
	With .Items
		.ItemItalic(.Add("italic")) = True
	End With
End With
235
How do I bold a cell

With AxList1
	.Columns.Add("Default")
	With .Items
		.CellBold(.Add("bold"),0) = True
	End With
End With
234
How do I bold a cell or an item

With AxList1
	.Columns.Add("Default")
	With .Items
		.CaptionFormat(.Add("gets <b>bold</b> only a portion of text"),0) = EXLISTLib.CaptionFormatEnum.exHTML
	End With
End With
233
How do I bold an item

With AxList1
	.Columns.Add("Default")
	With .Items
		.ItemBold(.Add("bold")) = True
	End With
End With
232
How do I change the foreground color for the item

With AxList1
	.Columns.Add("Default")
	With .Items
		.ItemForeColor(.Add("Item")) = RGB(255,0,0)
	End With
End With
231
How do I change the visual appearance for the item, using your EBN technology

With AxList1
	.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
	.Columns.Add("Default")
	With .Items
		.ItemBackColor(.Add("Item")) = &H1000000
	End With
End With
230
How do I change the background color for the item

With AxList1
	.Columns.Add("Default")
	With .Items
		.ItemBackColor(.Add("Item")) = RGB(255,0,0)
	End With
End With
229
How do I associate an extra data to an item

With AxList1
	.Columns.Add("Default")
	With .Items
		.ItemData(.Add("item")) = "your extra data"
	End With
End With
228
How do I programmatically edit a cell

' AfterCellEdit event - Occurs after data in the current cell is edited.
Private Sub AxList1_AfterCellEdit(ByVal sender As System.Object, ByVal e As AxEXLISTLib._IListEvents_AfterCellEditEvent) Handles AxList1.AfterCellEdit
	With AxList1
		With .Items
			.Caption(e.itemIndex,e.colIndex) = e.newCaption
		End With
	End With
End Sub

' CancelCellEdit event - Occurs if the edit operation is canceled.
Private Sub AxList1_CancelCellEdit(ByVal sender As System.Object, ByVal e As AxEXLISTLib._IListEvents_CancelCellEditEvent) Handles AxList1.CancelCellEdit
	With AxList1
		With .Items
			.Caption(e.itemIndex,e.colIndex) = e.reserved
		End With
	End With
End Sub

' Click event - Occurs when the user presses and then releases the left mouse button over the list control.
Private Sub AxList1_ClickEvent(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AxList1.ClickEvent
	With AxList1
		With .Items
			.Edit(.FocusItem,0)
		End With
	End With
End Sub

With AxList1
	.AllowEdit = True
	.Columns.Add("Default")
	With .Items
		.Add("")
	End With
End With
227
How can I ensure or scroll the control so the item fits the control's client area

Dim h
With AxList1
	.Columns.Add("Default")
	h = .Items.Add("item")
	.Items.EnsureVisibleItem(h)
End With
226
How can I remove or delete all items
With AxList1
	.Columns.Add("Default")
	.Items.Add("removed item")
	.Items.RemoveAll()
End With
225
How can I remove or delete an item
Dim h
With AxList1
	.Columns.Add("Default")
	h = .Items.Add("removed item")
	.Items.Remove(h)
End With
224
How can I add or insert an item

Dim h
With AxList1
	.Columns.Add("C1")
	.Columns.Add("C2")
	With .Items
		.Caption(.Add("Cell 1"),1) = "Cell 2"
		h = .Add("Cell 3")
		.Caption(h,1) = "Cell 4"
	End With
End With
223
How can I add or insert an item

With AxList1
	.Columns.Add("Default")
	.Items.Add("new item")
End With
222
How can I get the columns as they are shown in the control's sortbar
Dim var_Object
With AxList1
	var_Object = .Columns.ItemBySortPosition(0)
End With
221
How can I access the properties of a column

With AxList1
	.Columns.Add("A")
	.Columns.Item("A").HeaderBold = True
End With
220
How can I remove all the columns
With AxList1
	.Columns.Clear()
End With
219
How can I remove a column
With AxList1
	.Columns.Remove("A")
End With
218
How can I get the number or the count of columns
Dim var_Count
With AxList1
	var_Count = .Columns.Count
End With
217
How can I change the font for all cells in the entire column

Dim f
With AxList1
	f = CreateObject("StdFont")
	With f
		.Name = "Tahoma"
		.Size = 12
	End With
	With .ConditionalFormats.Add("1")
		.Font = f
		.ApplyTo = EXLISTLib.FormatApplyToEnum.exFormatToColumns
	End With
	.Columns.Add("Column")
	.Items.Add(0)
	.Items.Add(1)
End With
216
How can I change the background color for all cells in the column

Dim var_ConditionalFormat
With AxList1
	var_ConditionalFormat = .ConditionalFormats.Add("1")
	With var_ConditionalFormat
		.BackColor = RGB(255,0,0)
		.ApplyTo = EXLISTLib.FormatApplyToEnum.exFormatToColumns
	End With
	.Columns.Add("Column")
	.Items.Add(0)
	.Items.Add(1)
End With
215
How can I change the foreground color for all cells in the column

Dim var_ConditionalFormat
With AxList1
	var_ConditionalFormat = .ConditionalFormats.Add("1")
	With var_ConditionalFormat
		.ForeColor = RGB(255,0,0)
		.ApplyTo = EXLISTLib.FormatApplyToEnum.exFormatToColumns
	End With
	.Columns.Add("Column")
	.Items.Add(0)
	.Items.Add(1)
End With
214
How can I show as strikeout all cells in the column

Dim var_ConditionalFormat
With AxList1
	var_ConditionalFormat = .ConditionalFormats.Add("1")
	With var_ConditionalFormat
		.StrikeOut = True
		.ApplyTo = EXLISTLib.FormatApplyToEnum.exFormatToColumns
	End With
	.Columns.Add("Column")
	.Items.Add(0)
	.Items.Add(1)
End With
213
How can I underline all cells in the column

Dim var_ConditionalFormat
With AxList1
	var_ConditionalFormat = .ConditionalFormats.Add("1")
	With var_ConditionalFormat
		.Underline = True
		.ApplyTo = EXLISTLib.FormatApplyToEnum.exFormatToColumns
	End With
	.Columns.Add("Column")
	.Items.Add(0)
	.Items.Add(1)
End With
212
How can I show in italic all data in the column

Dim var_ConditionalFormat
With AxList1
	var_ConditionalFormat = .ConditionalFormats.Add("1")
	With var_ConditionalFormat
		.Italic = True
		.ApplyTo = EXLISTLib.FormatApplyToEnum.exFormatToColumns
	End With
	.Columns.Add("Column")
	.Items.Add(0)
	.Items.Add(1)
End With
211
How can I bold the entire column

Dim var_ConditionalFormat
With AxList1
	var_ConditionalFormat = .ConditionalFormats.Add("1")
	With var_ConditionalFormat
		.Bold = True
		.ApplyTo = EXLISTLib.FormatApplyToEnum.exFormatToColumns
	End With
	.Columns.Add("Column")
	.Items.Add(0)
	.Items.Add(1)
End With
210
How can I display a computed column and highlight some values that are negative or less than a value

Dim var_ConditionalFormat
With AxList1
	.Columns.Add("A")
	.Columns.Add("B")
	.Columns.Add("(A+B)*1.19").ComputedField = "(%0 + %1) * 1.19"
	With .Items
		.Caption(.Add(1),1) = 2
	End With
	With .Items
		.Caption(.Add(10),1) = 20
	End With
	var_ConditionalFormat = .ConditionalFormats.Add("%2 > 10")
	With var_ConditionalFormat
		.Bold = True
		.ForeColor = RGB(255,0,0)
		.ApplyTo = &H2
	End With
End With
209
Can I display a computed column so it displays the VAT, or SUM

With AxList1
	.Columns.Add("A")
	.Columns.Add("B")
	.Columns.Add("(A+B)*1.19").ComputedField = "(%0 + %1) * 1.19"
	With .Items
		.Caption(.Add(1),1) = 2
	End With
	With .Items
		.Caption(.Add(10),1) = 20
	End With
End With
208
How can I show a column that adds values in the cells

With AxList1
	.Columns.Add("A")
	.Columns.Add("B")
	.Columns.Add("A+B").ComputedField = "%0 + %1"
	With .Items
		.Caption(.Add(1),1) = 2
	End With
	With .Items
		.Caption(.Add(10),1) = 20
	End With
End With
207
Is there any function to filter the control's data as I type, so the items being displayed include the typed characters

Dim var_Column
With AxList1
	var_Column = .Columns.Add("Filter")
	With var_Column
		.FilterOnType = True
		.DisplayFilterButton = True
		.AutoSearch = EXLISTLib.AutoSearchEnum.exContains
	End With
	.Items.Add("Canada")
	.Items.Add("USA")
End With
206
Is there any function to filter the control's data as I type, something like filter on type

Dim var_Column
With AxList1
	var_Column = .Columns.Add("Filter")
	With var_Column
		.FilterOnType = True
		.DisplayFilterButton = True
	End With
	.Items.Add("Canada")
	.Items.Add("USA")
End With
205
How can I programmatically filter a column

With AxList1
	With .Columns.Add("Filter")
		.DisplayFilterButton = True
		.FilterType = EXLISTLib.FilterTypeEnum.exNonBlanks
	End With
	.Items.Add()
	.Items.Add("not empty")
	.ApplyFilter()
End With
204
How can I show or display the control's filter

With AxList1
	.Columns.Add("Filter").DisplayFilterButton = True
End With
203
How can I customize the items being displayed in the drop down filter window

With AxList1
	With .Columns.Add("Custom Filter")
		.DisplayFilterButton = True
		.DisplayFilterPattern = False
		.CustomFilter = "Excel Spreadsheets (*.xls )||*.xls|||Word Documents||*.doc|||Powerpoint Presentations||*.pps|||Text Documents (*.log,*.txt)||*." & _
"txt|*.log"
		.FilterType = EXLISTLib.FilterTypeEnum.exPattern
		.Filter = "*.xls"
	End With
	.Items.Add("excel.xls")
	.Items.Add("word.doc")
	.Items.Add("pp.pps")
	.Items.Add("text.txt")
	.ApplyFilter()
End With
202
How can I change the order or the position of the columns in the sort bar

With AxList1
	.SortBarVisible = True
	.SortBarColumnWidth = 48
	.Columns.Add("C1").SortOrder = EXLISTLib.SortOrderEnum.SortAscending
	.Columns.Add("C2").SortOrder = EXLISTLib.SortOrderEnum.SortDescending
	.Columns.Item("C2").SortPosition = 0
End With
201
How do I arrange my columns on multiple levels

With AxList1
	.Columns.Add("S").Width = 32
	.Columns.Add("Level 2").LevelKey = 1
	.Columns.Add("Level 3").LevelKey = 1
	.Columns.Add("Level 4").LevelKey = 1
	.Columns.Add("Level 1").LevelKey = "2"
	.Columns.Add("Level 2").LevelKey = "2"
	.Columns.Add("Level 3").LevelKey = "2"
	.Columns.Add("Level 4").LevelKey = "2"
	.Columns.Add("E").Width = 32
End With